<script type="text/javascript"> <!-- some statements //--> </script> |
The two forward slashes in front of the end of comment line (//) are a JavaScript comment symbol, and prevent the JavaScript from trying to compile the line.
Note that you can't put // in front of the first comment line (like //<!--), because older browsers will display it